package letsjava.pattern.prototype;

public class SoupSpoon extends AbstractSpoon {
	public SoupSpoon() {
		setSpoonName("Soup Spoon");
	}
	public static void main(String[] args){
		AbstractSpoon spoon = new SoupSpoon(); 
		AbstractSpoon spoon2 = (AbstractSpoon) spoon.clone();
		spoon.setSpoonName("ffff");
		System.out.println(spoon2.getSpoonName());
		
	}
}